package org.elte.lipika;

import java.util.List;

import org.springframework.roo.addon.entity.RooEntity;
import org.springframework.roo.addon.javabean.RooJavaBean;
import org.springframework.roo.addon.tostring.RooToString;
import org.elte.lipika.Original;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

@RooJavaBean
@RooToString
@RooEntity
public class Terminus {

	@ManyToOne()
	private Original Interpretation;

    private String circumscription;

    private String definition;

    private String authorClassification;

    private String comment;

    @ManyToOne
    private Original origLatin;

    private String origHun;
    
    @OneToMany(mappedBy="terminus")
    private List<Occurence> occurences;
    
    @OneToMany(mappedBy="terminus")
    private List<Example> examples;
}
